package com.ld.wms.business.approve.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 试剂领用清单
 * </p>
 *
 * @author wangfeng
 * @since 2025-04-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("material_example_receive")
@Schema(description = "MaterialExampleReceiveModel对象")
public class MaterialExampleReceiveModel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "库存id")
    private Long materialExampleInventoryId;

    @Schema(description = "领用人id")
    private Long userAccountId;

    @Schema(description = "状态：0未领取，1已领取，2取消领取")
    private Integer status;

    @Schema(description = "创建人id")
    private Long createBy;

    @Schema(description = "创建时间")
    private Date createTime;

    @Schema(description = "更新人")
    private Long updateBy;

    @Schema(description = "更新时间")
    private Date updateTime;


    public static final String ID = "id";

    public static final String MATERIAL_EXAMPLE_INVENTORY_ID = "material_example_inventory_id";

    public static final String USER_ACCOUNT_ID = "user_account_id";

    public static final String STATUS = "status";

    public static final String CREATE_BY = "create_by";

    public static final String CREATE_TIME = "create_time";

    public static final String UPDATE_BY = "update_by";

    public static final String UPDATE_TIME = "update_time";

}
